Interpreted C++, Object Oriented Tcl, What next?
نویسنده
چکیده
Tcl[1] is an interpreted high level language suitable for scripts, small scale systems, prototypes and embedding in larger applications. C++ is a powerful compiled language that provides support for object oriented programming and is suitable for building large complex systems. But what if you could move from C++ to Tcl and back again with the ease of an object reference and a dynamically bound function? This paper describes an extension to Tcl, or an extension to C++ depending on your perspective, that makes it possible to: B use object oriented programming concepts in Tcl B inherit from C++ classes (with dynamic binding of methods) in Tcl B instantiate C++ classes from Tcl B invoke methods upon C++ objects from Tcl B delete C++ objects from Tcl B pass Tcl objects to C++ for method invocation and deletion. The name of this extension (Tcl++ was rejected) is Object Tcl.
منابع مشابه
Tcl-MCMIS: Interpreted Management Access Facilities
Abstract. Programming OSI management communications is considered daunting because of the complexity of the service/protocol (CMIS/P) and the lack of standardized high-level Application Program Interfaces (APIs) that can harness the power and hide the protocol and abstract syntax complexity. In the OSIMIS platform, high-level C++ APIs, namely the Remote MIB and Shadow MIB, are provided to suppo...
متن کاملExtending Tcl for Dynamic Object-Oriented Programming
Object Tcl is an extension to the Tool Command Language (Tcl) for the management of complicated data types and dynamic object-oriented programming in general. We believe it is a worthy alternative to other object-oriented programming extensions (including [incr Tcl]) because it may be used dynamically, allows for per object specialization, has an economy of design and implementation, and provid...
متن کاملRapid Prototyping with APICES
APICES is a tool for very rapid development of software prototypes and applications. It offers special support for technical applications dealing with network-like structures. Network-like structures are modelled with predefined object-oriented building blocks so-called graph pattern. Software development with APICES starts with an object-oriented model of the application. This application mode...
متن کاملAn Object-Oriented Tcl/Tk Binding for Interpreted Control of the NIST EXPRESS Toolkit in the NIST STEP Application Protocol Development Environment
The National Institute of Standards and Technology (NIST) has built numerous software toolkits and applications for manipulating STEP and EXPRESS data. These toolkits are traditionally used as compiled libraries which are linked to other compiled modules. This paper describes a binding allowing the toolkit interfaces to be called from interpreted scripts. This significantly reduces the time req...
متن کاملMiSFIT: A Tool for Constructing Safe Extensible C++ Systems
The boundary between application and system is becoming increasingly permeable. Extensible applications, such as web browsers, database systems, and operating systems, demonstrate the value of allowing end-users to extend and modify the behavior of what was formerly considered to be a static, inviolate system. Unfortunately, flexibility often comes with a cost: systems unprotected from misbehav...
متن کامل